/**
 * 
 */
package com.order.gwj.services;

import java.util.List;

import javax.annotation.Resource;
import com.order.gwj.dao.*;
import com.order.gwj.domain.Order;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;



/**
 * @author Administrator
 * 
 */
@Transactional
public class orderServiceImpl implements orderService {

	@Resource
	orderDao orderDao;

	public void add(Order order) {
		// TODO Auto-generated method stub
		orderDao.add(order);
	}

	public List<Order> allorder(String string) {
		// TODO Auto-generated method stub
		return orderDao.allorder(string);
	}

	public void deleteorder(Order order) {
		// TODO Auto-generated method stub
		orderDao.deleteorder(order);
	}

	public void updateorder(Order order) {
		// TODO Auto-generated method stub
		orderDao.updateorder(order);
	}


	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.zhbit.bbs.services.UserService#insertUser(com.zhbit.bbs.domain.User)
	 */


	
}
